package com.ssy.lingxi.purchase.api.dto.request.purchase;

import com.ssy.lingxi.common.response.PageModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
* 采购合同-采购报价物料详情查询
* @author wrc
* @date 2021/1/20
*/
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractDetailsRequest extends PageModel {

    /**
     *需求单ID
     */
    @NotNull(message = "需求单ID不能为空")
    private Long id;

    /**
     * 供应商会员ID
     */
    @NotNull(message = "会员ID不能为空")
    private Long memberId;

    /**
     * 供应商会员ID
     */
    @NotNull(message = "会员角色ID不能为空")
    private Long memberRoleId;

}
